@import "./def";

.tree {
    position: relative;
    flex: none;
    width: clamp($tree_min_width, var(--treeWidth), $tree_max_width);
    background-color: $tree_bgc;
    overflow: hidden;
    &:global(.loading) {
        pointer-events: none;
    }
}

.loading {
    @include p;
    @include wh;
    z-index: 9;
    display: none;
    &:global(.active) {
        @include abc;
        @include cc(#55c, #fff9);
    }
    >:global(.fa-spin) {
        font-size: 2rem;
    }
}
